package com.gxa.insurance.service.impl;

import com.gxa.insurance.mapper.CustomerMapper;
import com.gxa.insurance.mapper.ReceiveExchangeCodeMapper;
import com.gxa.insurance.pojo.ReceiveExchangeCode;
import com.gxa.insurance.service.ReceiveExchangeCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author lijunlin
 * @date 2022/6/8
 */
@Service
@Transactional(rollbackFor = {Throwable.class})
public class ReceiveExchangeCodeServiceImpl implements ReceiveExchangeCodeService {
    @Autowired
    ReceiveExchangeCodeMapper receiveExchangeCodeMapper;

    @Override
    public void insert(ReceiveExchangeCode receiveExchangeCode) {

        receiveExchangeCodeMapper.insert(receiveExchangeCode);
    }
}
